<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Combo extends MY_Controller {
	
	function __construct()
	{
		parent::__construct(); 
		
		$this->load->model('combo_model', 'Combo');
		$this->secure_session();
	}
	
	function swcity(){
		$data = $this->Combo->SWCity(get('as_province_code'));
		echo ($data==NULL ? '[]' : json_encode($data));
	}
}?>